package com.leonzx.base.dao.system;

import com.leonzx.base.entity.system.User;
import com.leonzx.base.entity.system.UserRole;
import com.leonzx.base.utils.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author:张勇
 * @Description:
 * @Date: 2018-06-17 13:44
 */
@Repository
public interface UserRoleDAO extends MyMapper<UserRole> {

    List<String> findRoleIdByUserId(@Param("userId") String userId, @Param("state") Integer state);

}
